package com.x.静态代理;


import org.springframework.stereotype.Component;

/**
 * 核心业务——目标类
 */


public class CalculatorPureImpl implements Calculator {
    
    @Override
    public int add(int i, int j) {
        int result = i + j;
        return result;
    }
    
    @Override
    public int sub(int i, int j) {
        int result = i - j;
        return result;
    }
    
    @Override
    public int mul(int i, int j) {
        int result = i * j;
        return result;
    }
    
    @Override
    public long div(int i, int j) {
        long result = i / j;
        return result;
    }
}